import type { App } from "vue";
import { ControlType, registerControlProvider } from "@ibiz-template/runtime";
import IBizMdCtrlControl from "./i-biz-md-ctrl-control.vue";
import { MDCtrlProvider } from "./i-biz-md-ctrl-control.provider";

export const IBizMdCtrl = {
  install(v: App) {
    v.component("IBizMdCtrlControl", IBizMdCtrlControl);
    registerControlProvider(ControlType.MOB_MDCTRL, () => new MDCtrlProvider());
  },
};
